Platform Explorer / Nuxeo Platform 5.8

Contribution studio.extensions.nuxeo-routing-default--filters

This contribution is part of XML component studio.extensions.nuxeo-routing-default inside nuxeo-platform-document-routing-default-5.8.jar

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter id="filter@wf@ParallelDocumentReview">
          <rule grant="true">
            <permission>ReadWrite</permission>
            <type>Audio</type>
            <type>File</type>
            <type>Note</type>
            <type>Picture</type>
            <type>Video</type>
            <condition>#{!currentDocument.locked}</condition>
          </rule>
          <rule grant="false">
            <condition>document.isImmutable()</condition>
          </rule>
        </filter>
  • <filter id="filter@SerialDocumentReview">
          <rule grant="true">
            <permission>ReadWrite</permission>
            <type>Audio</type>
            <type>File</type>
            <type>Note</type>
            <type>Picture</type>
            <type>Video</type>
          </rule>
          <rule grant="false">
            <condition>document.isImmutable()</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">
    <filter id="filter@wf@ParallelDocumentReview">
      <rule grant="true">
        <permission>ReadWrite</permission>
        <type>Audio</type>
        <type>File</type>
        <type>Note</type>
        <type>Picture</type>
        <type>Video</type>
        <condition>#{!currentDocument.locked}</condition>
      </rule>
      <rule grant="false">
        <condition>document.isImmutable()</condition>
      </rule>
    </filter>
    <filter id="filter@SerialDocumentReview">
      <rule grant="true">
        <permission>ReadWrite</permission>
        <type>Audio</type>
        <type>File</type>
        <type>Note</type>
        <type>Picture</type>
        <type>Video</type>
      </rule>
      <rule grant="false">
        <condition>document.isImmutable()</condition>
      </rule>
    </filter>
  </extension>